﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models.DataModel;
namespace Models.DataStore
{
    public partial class Ctrl : Core
    {
        public Country GetObjCountryByName(string name)
        {
            var LstCountry = db.Countries.FirstOrDefault(c => c.Name == name);
            return LstCountry;
        }
    }
}
